/*    */ package com.zimbra.cs.index.query;
/*    */ 
/*    */ import com.zimbra.cs.index.QueryOperation;
/*    */ import com.zimbra.cs.mailbox.Mailbox;
/*    */ import java.util.List;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class SubQuery
/*    */   extends Query
/*    */ {
/*    */   private final List<Query> clauses;
/*    */   
/*    */   public SubQuery(List<Query> clauses)
/*    */   {
/* 35 */     this.clauses = clauses;
/*    */   }
/*    */   
/*    */   public List<Query> getSubClauses() {
/* 39 */     return this.clauses;
/*    */   }
/*    */   
/*    */   public boolean hasTextOperation()
/*    */   {
/* 44 */     for (Query sub : this.clauses) {
/* 45 */       if (sub.hasTextOperation()) {
/* 46 */         return true;
/*    */       }
/*    */     }
/* 49 */     return false;
/*    */   }
/*    */   
/*    */   public QueryOperation compile(Mailbox mbox, boolean bool)
/*    */   {
/* 54 */     if (!$assertionsDisabled) throw new AssertionError();
/* 55 */     throw new UnsupportedOperationException();
/*    */   }
/*    */   
/*    */   public StringBuilder toString(StringBuilder out)
/*    */   {
/* 60 */     out.append(getModifier());
/* 61 */     out.append('(');
/* 62 */     dump(out);
/* 63 */     return out.append(')');
/*    */   }
/*    */   
/*    */   public void dump(StringBuilder out)
/*    */   {
/* 68 */     for (Query sub : this.clauses) {
/* 69 */       sub.toString(out);
/*    */     }
/*    */   }
/*    */   
/*    */   public void sanitizedDump(StringBuilder out)
/*    */   {
/* 75 */     for (Query sub : this.clauses) {
/* 76 */       sub.toSanitizedString(out);
/*    */     }
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/index/query/SubQuery.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */